const { defineConfig } = require('@vue/cli-service')
module.exports =defineConfig ({
  transpileDependencies: true,
  // 关闭lint校验
  lintOnSave: false,
  devServer:{
    port: 8081,
    proxy: {
      '/api': {
        target: 'http://localhost:8089',
        changeOrigin: true,
        secure: false,
        // 可选：重写路径
        // pathRewrite: {
        //   '^/api': '/api'
        // }
      }
    }
  },



})
